import Vue from 'vue'
Vue.filter('formatDate',function(time){
    var date = new Date(time)
    var y = date.getFullYear()
    var m = date.getMonth()+1
    var d = date.getDate()

    return `${y}年${m}月${d}日`
})